
/* =====================================================
   DHR - YMF INSTITUTE DIRECTORY
   Design aligned with mentor_profile.css
===================================================== */

:root {
    --primary: #07569b;
    --primary-dark: #063b70;
    --primary-light: #eaf4ff;
    --text: #24364b;
    --muted: #8190a3;
    --border: #e7edf4;
    --surface: #ffffff;
    --page-bg: #f4f7fb;
    --success: #16834d;
    --danger: #c44848;
    --shadow: 0 8px 25px rgba(24, 54, 88, 0.07);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: var(--page-bg);
}

button,
input,
select {
    font: inherit;
}

a {
    text-decoration: none;
}

/* =====================================================
   GOVERNMENT TOPBAR
===================================================== */

.topbar {
    background: #073b70;
    color: #fff;
    padding: 8px 0;
}

.top-inner {
    max-width: 1450px;
    width: calc(100% - 48px);
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.gov {
    display: flex;
    align-items: center;
    gap: 12px;
}

.emblem {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255,255,255,.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

.gov-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.gov-copy strong {
    font-size: 11px;
    font-weight: 700;
}

.gov-copy span {
    font-size: 10px;
    color: #d6e5f5;
}

.top-divider {
    height: 30px;
    width: 1px;
    background: rgba(255,255,255,.35);
    margin: 0 5px;
}

.ministry-copy strong {
    font-size: 10px;
}

.top-links {
    display: flex;
    align-items: center;
    gap: 13px;
}

.top-links a {
    color: #eaf3ff;
    font-size: 10px;
    transition: .2s;
}

.top-links a:hover {
    color: #fff;
    text-decoration: underline;
}

.top-links > span {
    color: rgba(255,255,255,.45);
    font-size: 11px;
}

.top-links .social {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.13);
    border-radius: 50%;
    font-size: 13px;
}

/* =====================================================
   BRAND HEADER
===================================================== */

.brand-header {
    background: #fff;
    border-bottom: 1px solid #e8edf4;
}

.brand-inner {
    max-width: 1450px;
    width: calc(100% - 48px);
    min-height: 91px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.dhr-brand {
    display: flex;
    align-items: center;
    gap: 17px;
    color: var(--text);
}

.dhr-brand img {
    width: 340px;
    max-width: 100%;
    max-height: 76px;

    object-fit: contain;
}

.brand-divider {
    height: 49px;
    width: 1px;
    background: #dce3ec;
}

.programme-name {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.programme-name > span {
    font-size: 12px;
    font-weight: 600;
    color: #66778b;
}

.programme-name strong {
    color: #0a477d;
    font-size: 14px;
    font-weight: 800;
}

.brand-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    color: #075a9e;
    background: #eef6ff;
    border: 1px solid #dcecff;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    transition: .25s;
}

.brand-back:hover {
    color: #fff;
    background: #075a9e;
    border-color: #075a9e;
}

/* =====================================================
   HERO
===================================================== */

.institute-hero {
    min-height: 255px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: linear-gradient(115deg, #07386d 0%, #075da4 55%, #1383ca 100%);
    color: #fff;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: .12;
    background-image:
        radial-gradient(circle at 85% 20%, transparent 0 55px, #fff 56px 57px, transparent 58px),
        radial-gradient(circle at 85% 20%, transparent 0 95px, #fff 96px 97px, transparent 98px),
        radial-gradient(circle at 85% 20%, transparent 0 135px, #fff 136px 137px, transparent 138px);
    pointer-events: none;
}

.institute-hero::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 50%;
    right: -80px;
    bottom: -200px;
}

.institute-hero-content {
    position: relative;
    z-index: 1;
    max-width: 1450px;
    width: calc(100% - 48px);
    margin: auto;
    padding: 42px 0;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 13px;
    color: #fff;
    background: rgba(255,255,255,.13);
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .4px;
}

.institute-hero h1 {
    margin: 17px 0 9px;
    color: #fff;
    font-size: clamp(25px, 3vw, 35px);
    font-weight: 800;
    letter-spacing: -.8px;
}

.institute-hero p {
    max-width: 680px;
    margin: 0;
    color: #dcecff;
    font-size: 13px;
    line-height: 1.8;
}

.hero-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 20px;
}

.hero-highlights span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #e5f2ff;
    font-size: 11px;
    font-weight: 600;
}

.hero-highlights i {
    color: #a8d9ff;
}

/* =====================================================
   MAIN CONTENT
===================================================== */

.institute-content {
    padding: 42px 0 60px;
}

.content-container {
    max-width: 1450px;
    width: calc(100% - 48px);
    margin: auto;
}

/* =====================================================
   SECTION HEADING
===================================================== */

.institute-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.section-label {
    display: block;
    color: #1680c7;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.institute-heading h2 {
    margin: 0;
    color: #183b60;
    font-size: 25px;
    font-weight: 800;
}

.institute-heading p {
    margin: 7px 0 0;
    color: #8795a7;
    font-size: 12px;
}

.institute-total {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(20,50,90,.04);
}

.total-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0875c2;
    background: #eaf4ff;
    border-radius: 10px;
    font-size: 18px;
}

.institute-total > span:last-child {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.institute-total strong {
    color: #194d7c;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.1;
}

.institute-total small {
    color: #8291a3;
    font-size: 10px;
}

/* =====================================================
   TOOLBAR
===================================================== */

.institute-toolbar {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px;
    margin-bottom: 25px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 11px;
    box-shadow: 0 4px 15px rgba(20,50,90,.035);
}

.institute-search {
    flex: 1;
    min-width: 180px;
    height: 44px;
    display: flex;
    align-items: center;
    position: relative;
}

.institute-search > i {
    position: absolute;
    left: 14px;
    color: #8999ac;
    font-size: 13px;
    pointer-events: none;
}

.institute-search input {
    width: 100%;
    height: 100%;
    padding: 0 43px 0 39px;
    color: #30465f;
    background: #f9fbfd;
    border: 1px solid #e1e8f0;
    border-radius: 8px;
    outline: none;
    font-size: 12px;
    transition: .2s;
}

.institute-search input:focus {
    background: #fff;
    border-color: #1680c7;
    box-shadow: 0 0 0 3px rgba(22,128,199,.09);
}

.institute-search input::placeholder {
    color: #a0adbb;
}

.clear-search {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    display: none;
    border: 0;
    background: transparent;
    color: #8796a7;
    cursor: pointer;
    font-size: 14px;
}

.institute-filter {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.institute-filter label {
    color: #7d8da0;
    font-size: 10px;
    font-weight: 700;
}

.institute-filter select {
    height: 44px;
    min-width: 135px;
    padding: 0 30px 0 12px;
    color: #42576e;
    background: #fff;
    border: 1px solid #e1e8f0;
    border-radius: 8px;
    outline: none;
    font-size: 12px;
    cursor: pointer;
}

.institute-filter select:focus {
    border-color: #1680c7;
}

.search-count {
    color: #8291a3;
    font-size: 11px;
    white-space: nowrap;
}

/* =====================================================
   CARD GRID
===================================================== */

.institute-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}

.institute-item {
    min-width: 0;
    animation: cardAppear .35s ease both;
}

@keyframes cardAppear {
    from {
        opacity: 0;
        transform: translateY(9px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.institute-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 19px;
    background: #fff;
    border: 1px solid #e7edf4;
    border-radius: 13px;
    box-shadow: 0 5px 18px rgba(20,50,90,.045);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.institute-card:hover {
    transform: translateY(-4px);
    border-color: #cfe3f7;
    box-shadow: 0 12px 28px rgba(20,70,120,.10);
}

/* =====================================================
   CARD TOPLINE
===================================================== */

.card-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 18px;
}

.institute-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 10px;
    border-radius: 30px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .3px;
}

.institute-status.is-active {
    color: #16804b;
    background: #e9f8ef;
}

.institute-status.is-inactive {
    color: #bd4848;
    background: #fff0f0;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
}

.is-active .status-dot {
    animation: statusPulse 1.8s infinite;
}

@keyframes statusPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(22,128,75,.35);
    }
    50% {
        box-shadow: 0 0 0 5px rgba(22,128,75,0);
    }
}

.institute-type {
    padding: 6px 10px;
    border-radius: 30px;
    font-size: 9px;
    font-weight: 800;
}

.institute-type.type-a {
    color: #075ba5;
    background: #e9f3ff;
    border: 1px solid #d3e7ff;
}

.institute-type.type-b {
    color: #16804b;
    background: #e9f8ef;
    border: 1px solid #d0efdc;
}

/* =====================================================
   INSTITUTE PROFILE
===================================================== */

.institution-profile {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    min-height: 80px;
    padding-bottom: 17px;
    border-bottom: 1px solid #edf1f6;
}

.institution-icon {
    width: 49px;
    height: 49px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #126bb2;
    background: #eaf4ff;
    border-radius: 12px;
    font-size: 21px;
}

.institution-name {
    min-width: 0;
}

.institution-name h3 {
    margin: 1px 0 6px;
    color: #213c5b;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.institution-name p {
    margin: 0;
    color: #91a0b1;
    font-size: 10px;
}

/* =====================================================
   NODAL OFFICER
===================================================== */

.nodal-section {
    padding: 16px 0;
    border-bottom: 1px solid #edf1f6;
}

.nodal-section-heading {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 13px;
    color: #59718c;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.nodal-section-heading i {
    color: #1675b9;
    font-size: 12px;
}

.nodal-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nodal-photo {
    width: 51px;
    height: 51px;
    flex-shrink: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #edf3fa;
    border: 2px solid #e4edf7;
    border-radius: 50%;
}

.nodal-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nodal-initials {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1765a3;
    background: #e8f2fd;
    font-size: 14px;
    font-weight: 800;
}

.nodal-name {
    min-width: 0;
}

.nodal-name h4 {
    margin: 0 0 5px;
    color: #29435f;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.nodal-name p {
    margin: 0;
    color: #8796a7;
    font-size: 10px;
    line-height: 1.5;
}

/* =====================================================
   DETAILS
===================================================== */

.institute-details {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 17px 0;
    flex: 1;
}

.detail-row {
    display: flex;
    align-items: flex-start;
    gap: 11px;
}

.detail-icon {
    width: 31px;
    height: 31px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1674b9;
    background: #eff6fd;
    border-radius: 8px;
    font-size: 12px;
}

.detail-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detail-copy small {
    color: #94a1b0;
    font-size: 9px;
    font-weight: 600;
}

.detail-copy strong {
    color: #4c5e72;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.detail-copy strong a {
    color: #0873bd;
    overflow-wrap: anywhere;
}

.detail-copy strong a:hover {
    text-decoration: underline;
}

/* =====================================================
   CARD FOOTER
===================================================== */

.institute-card-footer {
    padding-top: 14px;
    border-top: 1px solid #edf1f6;
}

.view-institute-btn {
    width: 100%;
    min-height: 39px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 9px 12px;
    color: #0865aa;
    background: #eff6fd;
    border: 1px solid #dcecff;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    transition: .2s ease;
}

.view-institute-btn i {
    transition: transform .2s ease;
}

.view-institute-btn:hover {
    color: #fff;
    background: #0865aa;
    border-color: #0865aa;
}

.view-institute-btn:hover i {
    transform: translateX(4px);
}

/* =====================================================
   EMPTY STATE
===================================================== */

.no-institute {
    grid-column: 1 / -1;
    text-align: center;
    padding: 65px 20px;
    background: #fff;
    border: 1px dashed #d9e3ee;
    border-radius: 13px;
}

.empty-icon {
    width: 62px;
    height: 62px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #83a8cc;
    background: #edf5fd;
    border-radius: 50%;
    font-size: 24px;
}

.no-institute h3 {
    margin: 0 0 8px;
    color: #425b76;
    font-size: 16px;
    font-weight: 800;
}

.no-institute p {
    margin: 0;
    color: #91a0b1;
    font-size: 12px;
}

.no-search-results[hidden] {
    display: none !important;
}

/* =====================================================
   PAGINATION
===================================================== */

.institute-pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.institute-pagination .pagination {
    gap: 5px;
    flex-wrap: wrap;
}

.institute-pagination .page-link {
    color: #1769a8;
    border: 1px solid #dfe9f3;
    border-radius: 6px;
    font-size: 12px;
}

.institute-pagination .page-item.active .page-link {
    color: #fff;
    background: #0865aa;
    border-color: #0865aa;
}

.institute-pagination .page-item.disabled .page-link {
    color: #aab5c1;
}

/* =====================================================
   MODAL
===================================================== */

.institute-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.institute-modal.is-open {
    display: flex;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(9, 27, 48, .68);
    backdrop-filter: blur(4px);
}

.institute-modal-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 680px;
    max-height: 90vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 25px 80px rgba(0,0,0,.22);
    animation: modalAppear .25s ease;
}

@keyframes modalAppear {
    from {
        opacity: 0;
        transform: translateY(15px) scale(.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header-custom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding: 20px 24px;
    color: #fff;
    background: linear-gradient(110deg, #073b70, #0877bd);
}

.modal-header-custom span {
    color: #c9e6ff;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.2px;
}

.modal-header-custom h2 {
    margin: 5px 0 0;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
}

.modal-close {
    width: 35px;
    height: 35px;
    flex-shrink: 0;
    color: #fff;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 50%;
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
}

.modal-close:hover {
    background: rgba(255,255,255,.25);
}

.modal-institute-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 23px 25px;
    background: #f4f8fc;
    border-bottom: 1px solid #e8eef5;
}

.modal-institute-icon {
    width: 57px;
    height: 57px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #126bb2;
    background: #e2f0ff;
    border-radius: 13px;
    font-size: 24px;
}

.modal-institute-person h2 {
    margin: 0 0 9px;
    color: #233e5d;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.modal-type {
    display: inline-block;
    padding: 5px 10px;
    color: #075ba5;
    background: #e6f2ff;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 800;
}

.modal-body-custom {
    padding: 23px 25px;
}

.modal-body-custom > h3 {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 17px;
    color: #31506f;
    font-size: 13px;
    font-weight: 800;
}

.modal-body-custom > h3 i {
    color: #0875bd;
}

.modal-officer-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    margin-bottom: 20px;
    background: #f7fafd;
    border: 1px solid #e8eef5;
    border-radius: 10px;
}

.modal-photo {
    width: 58px;
    height: 58px;
    flex-shrink: 0;
    overflow: hidden;
    border: 2px solid #e1ebf6;
    border-radius: 50%;
    background: #edf3fa;
}

.modal-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-officer-header h3 {
    margin: 0 0 5px;
    color: #284562;
    font-size: 14px;
    font-weight: 800;
}

.modal-officer-header p {
    margin: 0;
    color: #8494a7;
    font-size: 11px;
}

.modal-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.modal-info-item {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 14px;
    background: #fafbfd;
    border: 1px solid #e9eef4;
    border-radius: 9px;
}

.modal-info-item small {
    color: #8998a9;
    font-size: 10px;
    font-weight: 600;
}

.modal-info-item strong {
    color: #3e5873;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.modal-footer-custom {
    display: flex;
    justify-content: flex-end;
    padding: 15px 24px;
    border-top: 1px solid #edf1f6;
}

.modal-done {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    color: #fff;
    background: #0865aa;
    border: 0;
    border-radius: 7px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

.modal-done:hover {
    background: #064c83;
}

body.modal-open {
    overflow: hidden;
}

/* =====================================================
   ACCESSIBILITY
===================================================== */

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
    outline: 3px solid rgba(22,128,199,.35);
    outline-offset: 2px;
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1100px) {
    .institute-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .top-links {
        gap: 8px;
    }
}

@media (max-width: 768px) {

    .top-inner,
    .brand-inner,
    .institute-hero-content,
    .content-container {
        width: calc(100% - 30px);
    }

    .top-inner {
        flex-wrap: wrap;
    }

    .top-links {
        flex-wrap: wrap;
    }

    .ministry-copy {
        display: none;
    }

    .top-divider {
        display: none;
    }

    .brand-inner {
        min-height: 78px;
    }

    .dhr-brand {
        gap: 10px;
    }

    .dhr-brand img {
        width: 48px;
        height: 48px;
    }

    .brand-divider {
        height: 40px;
    }

    .programme-name > span {
        font-size: 10px;
    }

    .programme-name strong {
        max-width: 260px;
        font-size: 11px;
        line-height: 1.5;
    }

    .brand-back {
        padding: 8px 10px;
        font-size: 10px;
        white-space: nowrap;
    }

    .institute-hero {
        min-height: 240px;
    }

    .institute-hero-content {
        padding: 35px 0;
    }

    .hero-highlights {
        gap: 12px 17px;
    }

    .institute-content {
        padding: 30px 0 45px;
    }

    .institute-heading {
        align-items: flex-start;
    }

    .institute-heading h2 {
        font-size: 21px;
    }

    .institute-toolbar {
        flex-wrap: wrap;
    }

    .institute-search {
        flex-basis: 100%;
    }

    .search-count {
        margin-left: auto;
    }

    .institute-grid {
        gap: 15px;
    }
}

@media (max-width: 560px) {

    .top-inner {
        gap: 8px;
    }

    .gov-copy strong {
        font-size: 10px;
    }

    .gov-copy span {
        font-size: 9px;
    }

    .top-links a {
        font-size: 9px;
    }

    .brand-inner {
        flex-wrap: wrap;
        padding: 10px 0;
    }

    .brand-back {
        margin-left: auto;
    }

    .institute-hero h1 {
        font-size: 25px;
    }

    .institute-heading {
        gap: 10px;
    }

    .institute-total {
        gap: 7px;
        padding: 9px;
    }

    .total-icon {
        width: 33px;
        height: 33px;
        font-size: 14px;
    }

    .institute-total strong {
        font-size: 16px;
    }

    .institute-grid {
        grid-template-columns: 1fr;
    }

    .institute-card {
        padding: 17px;
    }

    .modal-info-grid {
        grid-template-columns: 1fr;
    }

    .modal-header-custom,
    .modal-body-custom {
        padding-left: 17px;
        padding-right: 17px;
    }

    .modal-institute-header {
        padding: 17px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
